//
//  AgreementVC.swift
//  AirTravel
//
//  Created by tulip on 2021/10/12.
//

import UIKit
import WebKit
class AgreementVC: CommonVC {
    var titleStr:String?
    var htmlStr:String?
    var wkview:WKWebView!
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.\
        head.title.text=titleStr

        wkview=WKWebView.init(frame: CGRect(x: 0, y: TopSpaceHeight, width: SCREEN_WIDTH, height: SCREEN_HEIGHT-TopSpaceHeight))
        wkview?.loadHTMLString(htmlStr ?? "", baseURL: nil)
        self.view.addSubview(wkview)
        
       
        
        
    }


   

}
